package com.neu.service;

import com.neu.pojo.Material;

import java.util.List;

public interface MaterialService {

    int insertMaterial(Material material);

    int updateMaterial(Material material);

    int deleteMaterialGroup(int pid, int type);

    int deleteMaterial(int id);

    List<Material> list(int pid, int type);

}
